package com.onepice.mlp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@ComponentScan(basePackages = {"com.onepice.mlp.api","com.onepice.mlp.core"})
@EntityScan("com.onepice.mlp.data.entity")
@EnableJpaRepositories("com.onepice.mlp.data.dao")
public class MlpApplication {

    public static void main(String[] args) {
        SpringApplication.run(MlpApplication.class, args);
    }

}
